adding e2e testing
add e2e test for the book flow, fixed some stuff in the way