Added Destory() in tests to clean up event loop go routines at the end.