Makes the test more realistic by issuing an HTTP request. Reduces coupling between test and the code under test. The `http_server` helper was factored out into a new tests.utils module.