adding fix for contrail scary bugs and tests for the regex method that validates the UUID.