Add then remove resource followed by assert?