Null testing for headers. Closes #1452