working on end to end tests