test_treshold: adapted to previous corrections