Move modulestore config for tests to an importable location