Added integration tests for Header annotation.
Some fixes for integration tests.