qt: Add test for uid functions