testing checkout()