Migrate container pause tests to api tests Upstream-commit: 5f9570c7ac1775debec250e8b53ff2ff42f36a74 Component: engine