Added unit tests for NEAR operator