Most sender units just have one wire that goes directly to the gauge.
Your test of grounding that wire generally means the gauge is working like it should.
Note that the body of that sender must be grounded for it to function, so products like teflon tape are a no no.