Added test for view scope