TESTS: added IF command tests.