Added test for settings.environment in views
move to better location
rename
Add environment to the default settings, fixes GH #650
more descriptive test strings
reflect change
Merge branch 'issue/template_environment_setting'