Some test code to process spike in data