Added Unit Tests to Cache