Adds test module to cognition thread and wires led portal.
Fixes compiler errors.
Builds test message in testModule::run