inherits and overrides tests