added test for typenames