fixing testing inheritence