This fixes the public API problem in the runtime. Expose a TestTerminal from the testing library as well.