diff --git a/tests/test_parameter_check.py b/tests/test_parameter_check.py
index b4f1f51d1385695e91f2ff75f640371370ebbf64..942f19bb50b6f98526e1bd8a4e7e40bd95668042 100644
--- a/tests/test_parameter_check.py
+++ b/tests/test_parameter_check.py
@@ -1,9 +1,8 @@
 import pytest
 from multiarea_model import MultiAreaModel
-from multiarea_model.default_params import network_params
 
 """
-Test if the check for unused keys in 
+Test if the check for unused keys in
 custom parameters works.
 """
 
@@ -11,22 +10,22 @@ custom parameters works.
 def test_network_params():
     net_params = {'x': 3}
     with pytest.raises(KeyError):
-        M = MultiAreaModel(net_params)
+        MultiAreaModel(net_params)
 
 
 def test_conn_params():
     net_params = {'connection_params': {'x': 3}}
     with pytest.raises(KeyError):
-        M = MultiAreaModel(net_params)
+        MultiAreaModel(net_params)
 
 
 def test_sim_params():
     sim_params = {'x': 3}
     with pytest.raises(KeyError):
-        M = MultiAreaModel({}, simulation=True, sim_spec=sim_params)
+        MultiAreaModel({}, simulation=True, sim_spec=sim_params)
 
 
 def test_theory_params():
     theory_params = {'x': 3}
     with pytest.raises(KeyError):
-        M = MultiAreaModel({}, theory=True, theory_spec=theory_params)
+        MultiAreaModel({}, theory=True, theory_spec=theory_params)