updated test a little - split it up so you can test that the thresholding works