Write test to match expected behaviour modifications
Add new PythonSyntaxError message type
Update api to use PythonSyntaxError message