Token parser && tester
idx fix when \t found