I think you'll find something to test the alert in this topic.
and for testing your notify platform
EDIT: And please post your code as text, proper formatted, not as a photo wallpaper Read here, point number 11