Fixed unittests on Mac OSX, issue with notifier class