Does this hang forever when for example remove doesn't work?
And should it not be tested that there is no object of the type left?