checkout helper, model, tests