Add a test structure, implement code-header-panel with waterfall-mode