Refactored the UuidIndex test