Pared down test utility and tests.