Updated test runner to use an end marker for subprocess running.
Merging in from the tip.