fixed test for unexpected token