* [ISSUE #5093] add unit test in nacos-consistency. * fix unit test which cannot pass ci. * remove the unused import.