add console.logs to debug travis failure