add curry test case and do some currying test