Testing conversion to mongoid