Fix test failure in previous commit (failed to disable exception checker for header test)

This fix also merges the header and footer checks into the same test to save testing time.
Added tests to prove that reusing a custom panel container is possible.