test: Dump logs if any error occurs

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

test: Dump logs if any error occurs