added test to verify recovery with the new event dispatcher