Test cases for custom headers option.
Add additional check to test case.