Adding tests to CURRY and RCURRY.