The compareVectors function uses qFuzzyCompare, which might be too strict for certain comparisons, especially after multiple updates where floating-point errors can accumulate. Allow a configurable tolerance in the compareVectors function and adjust tolerance based on the specific test and expected magnitude of the vectors.