test with Mongoid version 3