Added the 'weird append' test case. Works now.