Add tests to project quotas and detection mechanism Upstream-commit: 226eb8004e0e9b1cd55b37ce4c235c0f19ca9a14 Component: engine