heroku init
added more unit tests, fixed python bugs