dimming lights

Hey everyone! I am having problems with my lighting. Dims at idle, brightens during acceleration. I replaced the alternator, voltage regulator and had the battery tested, problem persists. Any info appreciated!