Add some logs to trace test errors in TravisCI