Homemade pregnancy test

Not sure if it works but i saw a video of a "homemade" pregnancy test. You're supposed to pee in a cup, make sure its a clear cup. Pour either salt ot sugar and stir it and add a little more, IF they dissolve than you aren't pregnant, IF you are then the salt or sugar should clump together ( this is for anyone not sure and doesn't want to waste 20$ in case it is negative.