Added append method
Added test_append