* add require text for test environment
* add template path to karma config files
* add directive tests