om: refactor domain header formatter's unit tests
patches: rename implementation specific parameters