[79083] Add JUnit tests for this (and needed test for overrides being processed, forgot that one in the past).