Add unittests to increase test coverage.
Finish test coverage of heading.py