Migrate some update restart tests to api tests Upstream-commit: 919be92823f970bcf26a64bc4002723baac8cb32 Component: engine