Use inherits package instead of inherit

"inherit" was causing tests to fails, so switch to "inherits" package.