Added missing error handling to RandomUUID function
Fix return statements
Fixed test of RandomUUID
Merge pull request #92 from Fant/master

Added missing error handling to RandomUUID function