Fixed broken mongo tests

* Proper codeformatting
* Using collection::drop() instead of deprecated Mongo::dropCollection()
* checking collection status before droping to fix test