fix test case (remove appended element)