Added testcase for #1000
Update settings for show/hide toolbars. Fixes #1001