Add tests for new function error messages

No longer use querySelector or querySelectorAll on markup parsed via DOMParser.
maybe callBlocks or something else? otherwise I find I read this as a verb instead of a noun.