Adding test cases for or and and