fixed displaying warning when trying to remove non existsting cache item

And added some tests for removeItem() method