adding tests for settings view and viewport view