Added inhertiance tests