Adds unit tests for SetCacheHeaders, this time, with a mock