add doc about termination detection test