Added some testing in main for the coms module.