Basic test infrastructure.