Update html templates
Added test for actual directive