Add integration test for constraints Upstream-commit: f35c4343f32aff4fb4f261e1dedb4200410d53b4 Component: engine