Adding spec for Request module
Adding error handling middleware