added python support for spike injector testing