added more tests for checkout, some faily code