Fix test and add symmetric test for append.