Unit test for testing mongomaster