Test for `addHeaderView()` and `removeHeaderView()`.