Added unit tests for OR Queries