testing response parser
fix a bug with singleton tokens and positions