Integration test for notification module
Fixes for testing script