tests for invlaid curried arguments