Refactored HeaderSpec to make it easier and less error-prone to add new tests to it