Test for heroku errors
Fixing logic error for heroku