Fix singleton variable warning in test.
Strip prolog header from test output.