tests: 修复 engine.action 测试覆盖