Add a context payload to the test object.

To enable passing request context into the test case, so that we can do unit test against web request.