Add test for append