Added header-throw test
More debug lines
And even more debug stuff