Generated tests working good. Still have to work on some logic when changing trees with + and -.