testing, issue #1104: Make the test use static flags Upstream-commit: c21c5afe0077cc7a0ac52fb2e77a1c4aacc927ec Component: engine