Made template of check_tcpN_conn tests