Unit test for resource bundle target depedencies.
[Changelog] For PR #2934