Use NewTestContext() from testutil to remove some lines.