Add test for #6.
lookAhead: reset error messages on success