added successful tests for append and prepend