Unit test for tree plugin:
* shouldExpand: use grid._expanded to check expand/collapse state