more unit tests for ‘if’ tag