wcfg: Add a bunch of test cases for invalid parser input