Mongoid 4 test

I made this ready for rails 4 with mongoid 4 - works fine in my rails 4 app
Made the fork via an other fork (https://github.com/sebastian-railwaymen)
 - feel free to use this pull.