Use "Unknown pragma" not "Invalid pragma" in the default pragma handler
Replace an older NULL check with a ret_call2
Add pragma test
Add some test pragmas to the pragma callback