WSOTWO-136: Added unit tests to Header mediator