add test cases for numeric comparison of 'if' directive