Move Heroku add on to separate file and create integration test.