fix unit tests to use JunitHttpServer to test the routes