Added a couple of test cases for fixed inheritance bugs