test: Fix dumping logs

Signed-off-by: Lewis Marshall <lewis@lmars.net>
Merge pull request #174 from flynn/fix-test-dump-logs

test: Fix dumping logs