Test nocache option of mod_cgi and mod_esi

Tests that the nocache options work and can be used independently from
each other. This was broken before c8ef69c.