Added tests for "new view"