fixed code coverage for RequireJS projects