provide more tests for the class/trait mechanism