test code for spikes added