end to end tests now working