server: add testCluster.Add

and fix possible testing error.