Karma testing recent tasks directive. Modification of karma-ng-html2js preprocessor