Add a test for running snippets from the global registry.
Extend is for objects, merge is for arrays.