added a workable mongdb test case