Added unit tests for 2d mongodb index