Add the test context to payloads_spec for py http