fixed test case, coz not only foo but also any other params were sent