commented out functional tests for speed. fixed include thal_mod.h