Tests for general routes and api doc
Add tests for the whole public API