I tested it with just a long straight track that I set up. The wire was just laid near the track. The TMCC engine responded and ran correctly. I never tested it further. I wanted to string up a line on telephone poles that ran around the layout.
Try it yourself to test!