fixed inheritience test case