diff --git a/tests/expectations/expectation.mod b/tests/expectations/expectation.mod
index fde5eada504ea6ca992a7f950d675dcaa9fa33ee..c05d7528d1771ed9ae3fb537d195c1db5a641a91 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 0bc4069d8bce4734e1f653f98fe490efe99dd11b..d6bd10aafc85299a54a562bb7034d40352eb4a0f 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));