add if_test.cpp
fix test case name