Hack to make run-to tests work on the command-line.