re-modified test-morph.py