Fix bug when clearing up disks.

They don't need to be removed from the disk cache.  Since the
configuration doesn't change, neither should the cached instance.
Remove unneded, too-verbose outputs.
Use Test::MockModule for mocking methods.
Merge pull request #1 from piojo/fix_unittests

Fix caching of disk instances