enabling the varnish unit test

this test was silently skipped by returning early.

i enabled it and fixed one of them. the one about error logging still does not work. also we could add tests for the other operations.