Add test spec example at caret position