Convert TestContext to be pytest-style (#589)

1 file changed