tree: Add expand promise rejection test