Mongoid tests corrections