cleaned up TPCF_serial and removed internal test
Merge branch 'master' of https://github.com/duncandc/HAS