[PATCH 1/2] tests: Add some tests for "if" statement attributes.