Add tests for potHeaders option and case-sensitive headers.