test_engine: increase the unit-test coverage