added testing harness and tested headercontroller