move test_foo into another testcase