update for heroku
add some example tests