update tests and correct error w/ threshold bounds