Added tests for curry after making it public