revert not setting cache headers in test

As there are tests for them