fix test case of testAppendChild()