added if1,2 tests