fixed route spec
added test for mongoid