fix remote tests