test the auto curry