fix UID test case and benchmark