Fix of AutoBuffer2JSON test.