Adds NewTestContext() method.
More consistent docs.