Added cleanup of process after a test

Okay, the wrong input name was used for event_repo find_events(). Since, this is python, there was no error generated and the input param went into keyword arguments. Had it this been C++ or Java, the test would have crashed due to wrong method signature. But then there would have not been any mystery.