More unittests

`if "HEROKU" in on.environ:` should trigger when on heroku and should be fine.