add unit tests for storeOrder in TreeNodeServices