page_cache_directory was nil in test environment, and i couldn't figure out how to fix this :s