Extract `appendView`, `destroyView` for testing

Defining `appendView` and `destroyView` in multiple tests is verbose, 
repetitious, and copy-paste-error prone.
`destroyView` could be used in this file (the `teardown` is doing the destroy song and dance).