Some unit testing infrastructure.