diff --git a/tests/test_analysis.py b/tests/test_analysis.py
index 878329a100b3b9f77daa9895eeaecce52ad71c12..707ed54ca8181a0a50e84bacb22c86e5d90dafec 100644
--- a/tests/test_analysis.py
+++ b/tests/test_analysis.py
@@ -20,7 +20,7 @@ def test_analysis():
                       'fullscale_rates': 'fullscale_rates.json'}
     sim_params = {'t_sim': 500.,
                   'areas_simulated': ['V1', 'V2']}
-    M = MultiAreaModel(network_params, simulation=True, sim_spec=sim_params, analysis=True)
+    M = MultiAreaModel(network_params, simulation=True, sim_spec=sim_params)
     M.simulation.simulate()
     M = MultiAreaModel(network_params, simulation=True, sim_spec=sim_params, analysis=True)
 
diff --git a/tests/test_nest_network_connectivity.py b/tests/test_nest_network_connectivity.py
index 613afa8f0a794bc84c4d4a160eb9db5371fdb4b1..1725f68ab3bcf8ca64ea265428d3811627b305bb 100644
--- a/tests/test_nest_network_connectivity.py
+++ b/tests/test_nest_network_connectivity.py
@@ -54,5 +54,5 @@ def test_nest_network_connectivity():
         K_ext = []
         for pop in M.structure[area.name]:
             K_ext.append(M.K[area.name][pop]['external']['external'])
-        target_rates = np.array(K_ext) * M.simulation.params['input_params']['rate_ext']
+        target_rates = np.array(K_ext) * M.params['input_params']['rate_ext']
         assert(np.allclose(poisson_rates, target_rates))