As far as I am aware, caffeine does not affect the actual test. I have had loads of EEG's done and they have never asked me not to have caffeine before. I guess they have asked this time because it is a sleep one and they want a normal sleep pattern.
Im glad your mind is more at rest now.
All the best