ADDED base class for cache based unit tests which creates and deletes the base cache directory and initializes a logger. Adapted existing unit test class accordingly.