adding unit test to make sure user throwns error for non-unique uuid