[view] [test] added test for layout resource