defining Cabal macro if not defined.
adding test cases for headerLines.