missing sqrt tests, simd fix + add assert in scalar