Add test for view.ScopeName