testcomm.cpp now compiles