added test for append