try to fix mongoid testing on rails 3