test(directive): add test for static string
fix(docs): single quote the string in example usage