diff --git a/tests/test_solver.py b/tests/test_solver.py
index 409c56add9ce3317acafd84c0390f1b6f769259c..f241cea75f80ce5b9056fa5efc4faabfc8b55718 100644
--- a/tests/test_solver.py
+++ b/tests/test_solver.py
@@ -70,7 +70,7 @@ def test_example_sns_1d_J_usadel1():
 
     # Current is real-valued and conserved
     assert_allclose(I0.imag, 0, atol=1e-8)
-    assert_allclose(I0[1:-1].real, I0_mean, rtol=1e-6)
+    assert_allclose(I0[1:-1].real, I0_mean, rtol=1e-5)
 
     # Compare to Usadel1
     g = usadel1.Geometry(1, 2)
@@ -337,9 +337,9 @@ def test_soc_analytic(T, n, alpha_soc):
         Jy_an *= dd[1]  # multiply current density by the width of a single cell
         Jantot += pi * aa * Jy_an
 
-        Jy = tr(J @ t3)[n // 2, n // 2, 1]
+        Jy = -1j * tr(J @ t3)[n // 2, n // 2, 1]
 
-        assert_allclose(-Jy, Jy_an, rtol=1e-2)
+        assert_allclose(Jy, Jy_an, rtol=1e-2)
 
         Fs.append(res0.F.copy())
         Gs.append(res0.G.copy())