Added TestEngine::CloseEvent() implementation