Rework headers functional tests

### 1. headers in functional tests

#9700 already added support for functional tests as well. I just added test-cases to lock the behaviour and updated the documentation accordingly.

### 2. document functional tests

I added documentation for the request simulation methods in functional tests.