Fixing enhanced incoming unit tests.

- Added one more new line before headers.
- Prevent new lines inside span styling "%{}"