Some append methods with corresponding tests.