Is there any reason testing the neutral line on a dimmer light socket wouldn't work?
Figure 1. A typical triac-based dimmer switch schematic. Source: Homemade circuits.

Your continuity check is being interrupted by U1, the triac. This is a semiconductor switch which can vary the amount of the mains waveform getting through. Read the linked article for more.