Removed proxy_cache_valid as default when using proxy_cache option
Added some tests also