Fix uid unit test