Add error logs when tests fails in Travis.