updated tests, and switched deflate threshold to sqrt(epsilon)