EngineTest fix

Hello Mike,

here is the fix for EngineTests.

Remark: 
Anton should always merge linalg 
(and always merge linalg before opening pull requests)!