Add negative check for header.
Empty cache is still cache, so we should add the header in any case.
Add cache tests for the widget.