complete cache module unit tests