I was driving my 87 325 IS that I purchased a week ago and was curious how fast it would go in third gear. So I downshifted and began accelerating. As I neared the redline the engine cut out or shut off and a red light came on in the instrument panel. I'm not sure which red light came on because I am not that familiar with the car yet. But the engine resumed running as soon as I let off the gas. I am very concerned as to what may have caused this. Does anyone have any ideas?