Extract utils.resolvePathSync method, shared between combine() and dynamicPath() middleware.
Use done() callbacks when setting up and tearing down test app.
Provide errorHandler export that encapsulates BadRequest responses.