Bug 909017 - Fix test-coverage incompatible unit test

Because blanket will execute script again in mocha unit testing that cause constant variable redefined twice and fail.