fix race conditions with test not waiting for !TreeNodes to expand/collapse before setting aria roles, refs #8000