Fix test by ensuring we are at the end of the string