Unit testing and e2e tests