[Pharo-project] deprecated method in tests