add function with $ in its name testcase