Avoid hard-coded value in test setup/teardown.

Although `ignore_accept_header` is currently set to false by default, I guess it's better to stick to the principle that we should avoid hard-coded values in a test's setup and teardown, in order to prevent state leaks.

However, the cost of doing so is that we might miss the opportunity to catch a state leak from somewhere else.

@senny what do you think?