Need to gate mongo require

So tests passed earlier because the Gemfile was still installing mongo for all the test cases. I think I've fixed that, and then added in the begin/rescue block to fix it. 

Sorry I didn't catch this earlier. To be safe, this time I hooked it up to my app and it works (it failed before I made this change.)