update tests for thresholding for ecm