improve test coverage; curry prepend and append

#350