mongo db operators unit test