added more end to end tests