add contract inheritance test to assure options like :virtual are properly handled, @celsofernandes.