test for checkout