Updated test case to properly test for cobj inheritance