Added test alert to test on heroku.
Added some alerts to diagnose heroku error.