Fixed some invalid usage of the connection stack in one of the new tests