Add unit test for directives using html2-browserify