Turn spike code into a basic test