added more tests
added a test for an alias
added a test with type parameters