added and2end tests