refactored 'TestHatchety.py'