make test output page content when something went wrong. very verbose, but you can see what was wrong