testing heroku function