Test for lookahead