fixes bug in pocket card sending in notifier
makes test excecution a bit more robust