got directive testing with template working