Added validation and tests for UUID strings