tests: Cleanup created events upon exit