Fixed a test
Merge pull request #1312 from gem/engine_test-fix

A simple fix for engine_test.py