fix uuid bug. updated test