You are on the right track, but three-way switches can be wired differently, based on power first to either the switch or the fixture, whether the light is at the end, light in the middle, etc.
I would recommend opening up the fixtures you think it controls, and then use some long test leads...