Fix and complete test_checkout_actions(). #600