Improved testcase for JModelLegacy (Fix #4709)
Merge branch 'staging' of github.com:joomla/joomla-cms into staging