Fix arg length check in 'append'
Add test for 'exceptlast'