move test logging impl to testRuntime scope