testing for the testing flag in the app to prevent printing warning when secret_key, session_cookie_domain or server_name are not set. You maybe want to set the nevertheless.