diff --git a/tests/expectations/expectation.mod b/tests/expectations/expectation.mod
index 97252145609e1182c2c98b29e53c67dadffdd62b..3e5ba3c95331bed77d11f51e3fc98a83a50b36d1 100644
--- a/tests/expectations/expectation.mod
+++ b/tests/expectations/expectation.mod
@@ -15,7 +15,7 @@ theta = 2.95;
 phi   = 0.1;
 
 model;
-c*theta*h^(1+psi)=expectation(1)((1-alpha)*y)+expectation(-2)((1-alpha)*y);
+c*theta*h^(1+psi)=(expectation(1)((1-alpha)*y)+expectation(-2)((1-alpha)*y))/2;
 k = beta*(((exp(b)*c)/(exp(b(+1))*c(+1)))
     *(exp(b(+1))*alpha*y(+1)+(1-delta)*k));
 y = exp(a)*(k(-1)^alpha)*(h^(1-alpha));
diff --git a/tests/expectations/expectation_nested.mod b/tests/expectations/expectation_nested.mod
index 44cf44b031d7d7c72af8d87bbc69e30555ce73f0..a20b09eab81e0054bab28aec1d36fb209132d34c 100644
--- a/tests/expectations/expectation_nested.mod
+++ b/tests/expectations/expectation_nested.mod
@@ -15,7 +15,7 @@ theta = 2.95;
 phi   = 0.1;
 
 model;
-c*theta*h^(1+psi)=expectation(1)(((1-alpha)*y)+expectation(3)((1-alpha)*y));
+c*theta*h^(1+psi)=expectation(1)(((1-alpha)*y)+expectation(3)((1-alpha)*y))/2;
 k = beta*(((exp(b)*c)/(exp(b(+1))*c(+1)))
     *(exp(b(+1))*alpha*y(+1)+(1-delta)*k));
 y = exp(a)*(k(-1)^alpha)*(h^(1-alpha));