Fix unit tests related to core issue 37358 and core PR 37103
Fix unit tests related to core issue 37358 and core PR 37103

nickv-oc/announcementcenter,nickv-oc/announcementcenter,owncloud/announcementcenter,owncloud/announcementcenter