Add test for Domain User Id Function