**Description** Set up tests for end-to-end testing and API testing. **Tasks** - [x] Set up automated end-to-end testing, covering a longer sequence of interactions - [x] Add API tests **Acceptance criteria** - Has end-to-end testing - Has API tests - Tests pass with above 80% coverage