Adding debug sending and printing to test runner.