Fixed some broken specs

Signed-off-by: Jeroen van Baarsen <jeroenvanbaarsen@gmail.com>
Merge pull request #7093 from jvanbaarsen/spex-fix-notifications-helper

Fixed some broken specs