Tests for extracting params and enhancing request.