Optimized tests. Use error tolerance instead of input tolerance.