If you're using ModuleStoreTestCase, you should also @override_settings with a unique collection name.  See `xmodule/modulestore/tests/django_utils' for functions that can do this.