allow running tests with either mongoid or active_record