Fixed Mongoid 3 tests