[cache-manager] impl remove method and tests for it.