Added IF test case for Patrick's parser