try to fix mongoid testing in rails 3