Updates plugin getCodeBlockSnippet() @access and adds plugin test.