Update integration tests for 0.17.0
Make CACHE_ROOT a Pathname, this is less surprising.
Always create the CACHE_ROOT directory. Fixes #917.