make the cache work
testing the cache and some of the remove functions