Improved mongo support and tester