trailing headers unittests