Configure Mongoid in test environment