diff --git a/tests.py b/tests.py
index 6857a32a2a7b01436b1523862fd2c0d7ff9ab0ff..66aae077f106299f57aa5cb206f72dab89435e23 100644
--- a/tests.py
+++ b/tests.py
@@ -147,20 +147,21 @@ def test_setup_log_cmd(tmp_path):
         assert "Spack environments branch: dev-23a " in last_line
 
 
-def test_install_environment(tmp_path):
-    """Test the installation of a toolchain.
-
-    This is a long test, its handy to test this with print statements printed to
-    stdout, use:
-      pytest -s
-    Expect an Exception when wrong toolchains are provided
-    """
+def test_install_environment_wrong_toolchain(tmp_path):
+    """Test exception is raised for non-existing toolchain."""
+    # This is a long test, its handy to test this with print statements printed to
+    # stdout, use:
+    #   pytest -s
+    # Expect an Exception when wrong toolchains are provided
     with pytest.raises(Exception):
         mod.install_environment(
             mpsd_release="dev-23a",
             toolchains=["wrong-toolchain"],
             script_dir=(tmp_path),
         )
+
+def test_install_environment_wrong_mpsd_release(tmp_path):
+    """Test exception is raised for non-existing mpsd release."""
     # Expect an Exception when wrong mpsd_release is provided (part of
     # prepare_environment)
     with pytest.raises(Exception):
@@ -169,6 +170,9 @@ def test_install_environment(tmp_path):
             toolchains=["foss2021a-mpi"],
             script_dir=(tmp_path),
         )
+
+def test_install_environment_zlib(tmp_path):
+    """Test installation of toolchain."""
     # prepare a test of global generic with only zlib to test the installation
     # prepare dev-23a release
     # script_dir = tmp_path / "test_global_generic"