when testing mode is enabled, server_name and session_cookie_domain will be set to '' in order to make sessions work.
This might not be the case if a developer has set this to something in his test setup