Adding a test for preserved_resource_directories as a hash.