Fixes in engine_spec.rb examples