update tests to add coverage for optional header args