set up unit and e2e testing