Add test for 'attempt'
Add test for 'lookAhead'