fixup! incorrect variable
added test to ensure code snippet is not updated incorrectly
added test for performing folder-wide updating of code snippets