LPS-43134 The test testGetPreferencesCountByOwnerPortletExcludeDefault now works, because the bug has been fixed.