Add test whether several ws_object_uuid() calls return the same ID for one obj

I wrote this because I thought there is a bug, but there isn't. I guess we
can merge this anyways, it's a test which tests stuff, so I think it
should be merged.