Fixing test
Adding a test with a class
Handling abstract types