Add test to check error position and remaining input.
Add test to check error position and remaining input.

flowbox-public/binary,bergmark/binary,fpco/binary,ezyang/binary,x456/binary,flowbox-public/binary,basvandijk/binary