fix remote correctness tests