MODE-1813 - Updated CDI test with a test-case that allow replication of the issue. Also, added the explicit dependency as fix.