some test cases for the inheritance stuff