Test that NULL-object handling also copes with 2297
Test that NULL-object handling also copes with 2297

Fixes: #2297

gquintard/Varnish-Cache,gquintard/Varnish-Cache,gquintard/Varnish-Cache,gquintard/Varnish-Cache