Thanks for the suggestions. I've split the test into three separate tests (for `empty`, `remove`, and `detach` each), as I thought that would make sense.