Remove use of deprecated APIs

Also, add a spec.
My thought was that in the other spec, to make the converse assertion, I want to wait for an item *not* to be opened, and I wanted to two specs to have the same structure.