Added test for sub views.