SENTRY-181: Add a test case for duplicate privileges ( Jarek Jarcec Cecho via Sravya Tirukkovalur)