Do not create a modulestore unnecessarily in tests