added end to end tests
added end to end tests