diff --git a/packages/py-quantities/package.py b/packages/py-quantities/package.py
index e5d14e955da39044aa594a24aad4fe0c37057124..623671aa920b71a46b6ed6b26eff5c5f8f6ca85f 100644
--- a/packages/py-quantities/package.py
+++ b/packages/py-quantities/package.py
@@ -10,9 +10,10 @@ class PyQuantities(PythonPackage):
     """Support for physical quantities with units, based on numpy"""
 
     homepage = "https://python-quantities.readthedocs.org"
-    pypi = "quantities/quantities-0.16.0.tar.gz"
+    pypi = "quantities/quantities-0.16.2.tar.gz"
     maintainers = ['apdavison']
-    
+
+    version('0.16.2', sha256='1f7c24f10d9ff57ddf751a358ea2fdfa9914516722f06a788ef4a2924c77d21c')
     version('0.16.0', sha256='211cce2d268da7e202abab5c2533ce3200ff619dd8ac2a3cd98f861b8a57c6eb')
     version('0.15.0', sha256='9ea31e2a0d7517cf24d546b14146def9292639993a616cca61b875ef796b4b2b')
     version('0.14.1', sha256='efeafffc0c0364f891a9327239cd12496bccb55cd037a6d1bf44de706f722877')
diff --git a/packages/py-snudda/package.py b/packages/py-snudda/package.py
index 092e410bf670fee524ab7531ac6bbe50fa38d79d..0638483da24f1728e209170efa48078d571999d1 100644
--- a/packages/py-snudda/package.py
+++ b/packages/py-snudda/package.py
@@ -14,6 +14,11 @@ class PySnudda(PythonPackage):
 
     maintainers = ["hjorth"]
 
+    version("2.1.17", "6a89065cf6722c2da512a0d5fa60a3c8")
+    version("2.1.14.1", "913b613055030183a8f30a67a0410def")
+    version("2.1.14", "a0a88d4822a500b8390db9a47c628f50")
+    version("2.1.13", "e5f7bc57a848e489352f8fb1f16b164a")
+    version("2.1.12", "8f8cbbcf3d6f12c4092160a6e9312ae1")
     version("2.1.11", "5cb71667a6f8c708279fc5dc94883ba3")
     version("2.1.10", "a1f5bf39ee0418e7ce8a0783042c59c8")
     version("2.1.2", "5d61a548995f88f95f680bf124534287")
@@ -39,12 +44,17 @@ class PySnudda(PythonPackage):
     depends_on("py-cython",             type=("build","run"))
     depends_on("py-numba@0.60.0:",      type=("build","run"))
     depends_on("open3d+python@0.18:",   type=("build","run"), when="@2:")
-
-    # snudda tarballs in pypi do not include the tests/ dir: just use default spack tests for now
-    # @run_after('install')
-    # @on_package_attributes(run_tests=True)
-    # def install_test(self):
-    #     python('-m', 'unittest', 'discover', '-v', '-s' './tests')
+    depends_on("py-quantities@0.16.2:", type=("build","run"), when="@2.1.14:")
+
+    @run_after('install')
+    @on_package_attributes(run_tests=True)
+    def install_test(self):
+        with working_dir("tests"):
+            from pathlib import Path
+            excluded_tests = ['test_sonata.py', 'test_snudda_path.py', 'test_frequency']
+            test_files = [str(p) for p in Path(".").rglob('test_*.py') if p.name not in excluded_tests]
+            if test_files:
+                python('-m', 'unittest', '-v', *test_files)
 
     # blender is for now an optional dependency: leave out of import_modules to avoid errors in tests
     skip_modules = ['snudda.plotting.Blender', 'snudda.plotting.Blender.io_mesh_swc', 'snudda.plotting.Blender.visualisation']
diff --git a/spack.yaml b/spack.yaml
index 819bca797d626c5c615dee27c5b51fd12c0b0cf1..aa9f8e43e6f447a708b4782f23293e2d4b77d010 100644
--- a/spack.yaml
+++ b/spack.yaml
@@ -49,9 +49,9 @@ spack:
     - py-pynn@0.12.3 +mpi
     - py-pyunicore@1.1.1
     - py-quantities-scidash@0.12.4.3
-    - py-quantities@0.16.0
+    - py-quantities@0.16.2
     - py-siibra@1.0a9
-    - py-snudda@2.1.11
+    - py-snudda@2.1.17
     - py-spynnaker@7.3.0
     - py-tvb-framework@2.9
     - py-tvb-contrib@2.9.1