Change threshold from 2.0 to 1.0 in the test