add testing on unclosed token