experimental support for WriteError and WriteVerbose in unit tests