Fix send_notification
Basic tests for send_notification