wrote a test case for the And parser