move test_add to test_ifs