Added test to ensure UID is not nil