Add logging to address test failure on Travis