Add tests for mongoid 4 beta 1
Merge pull request #505 from arthurnn/mongoid4

Add tests for mongoid 4 beta 1