Fixed another bug, reran threshold optimizers. Also created another test