curry and tests