removed mongo test-bed and improved test cases