Bugfix for redmine issue #3093: "Test not importing under subclass".