[fix] Issue where notification script was creating a file named "1" and also fix the test.