working with angular directive testing