added e2e testing