test environment for mongoid