print useful output for tests upon failure