add tests for subviews