[server][test] Fix the error of tests caused by the change of output order due to tuning of the index.