[view] [test] reorganized view tests and refactored for manual layouts