diff --git a/packages/py-viziphant/package.py b/packages/py-viziphant/package.py
index 9853eb54d5d62325cad3b8f074d7aca604cc12d9..f2a0db7785f6cda63235c02e2527eec1f60e2f58 100644
--- a/packages/py-viziphant/package.py
+++ b/packages/py-viziphant/package.py
@@ -15,6 +15,7 @@ class PyViziphant(PythonPackage):
     # notify when the package is updated.
     maintainers = ['Moritz-Alexander-Kern']
 
+    version('0.3.0', sha256='')
     version('0.2.0', sha256='044b5c92de169dfafd9665efe2c310e917d2c21980bcc9f560d5c727161f9bd8')
     version('0.1.0', sha256='8fd56ec8633f799396dc33fbace95d2553bedb17f680a8c0e97f43b3a629bf6c')
 
@@ -27,3 +28,12 @@ class PyViziphant(PythonPackage):
     depends_on('py-six@1.10.0:', type=('build', 'run'))
     depends_on('py-matplotlib@3.3.2:', type=('build', 'run'))
     depends_on('py-seaborn@0.9.0:', type=('build', 'run'))
+
+    depends_on("py-pytest", type=("test"), when="@0.3.0:")
+
+    @run_after('install')
+    @on_package_attributes(run_tests=True)
+    def install_test(self):
+        # run tests here (this is just an example):
+        pytest = which('pytest')
+        pytest()