Refactored code-coverage script execution location and add some logging to UnitTest
(to help debugging an error test that is only happening in travis)