The housing has to be grounded for your test to work

Normally the parking light is grounded when installed in the truck and the battery is grounded