A proper check of UuidType

The validation method of the UuidType should return a valid value.

Change-Id: I0964f3b2a046df48cdf200d7896c60f331789eac