Public testing utilities and test framework extensions.