Look at one of the Error_* feature tests for how to easily test parse errors