Mostly fixing the Makefile test runner.

It prints a bunch of newlines after it finishes; I'm not entirely sure why.