Finished checkout
Included tests and email sending