Add parser unit test for invalid ifvarclass expressions