fixed painful issues on tests that generated random errors on positions