Added tests and now using app.config dict for application config (Salt and Secret Key)