Working for all test cases excluding compass