Fix tests mgo leakage

Various fixes to tests, mostly relating to usage of MgoSuite usage.
oops, this line should be out of the condition; will fix