Fix tests mgo leakage

Various fixes to tests, mostly relating to usage of MgoSuite usage.