Extract `appendView`, `destroyView` for testing

Defining `appendView` and `destroyView` in multiple tests is verbose, 
repetitious, and copy-paste-error prone.
I'm ok with making it a more general wrapper around a call to `.destroy()`.

Where should this live?