Updated notification tests and added logging for notifications