COM connection implemented, tests fixed