Add tests for "inherit" module