Bug fixes in UUID parsing

Mostly around handling non-UUIDs in attempted UUID parse.
Fix ideaj warning
Get the uuid parse test right