Fix flaky tree component tests.

Increased size of tree to ensure there are always some nodes out of view.
Combined two unit tests to ensure the "not scrolled" check always takes place on a node in view.

Bug: b/314967934
Test: npm run test:unit:dev
Change-Id: Icdfebcf9fc5c94185194daf51798717e51755b52
2 files changed