[view] [test] added tests for nested views and layouts