TST: add tests for new com functions