dadded unit test for method getAllMorphs