added checkout button and tests to ensure it's working