added: test with different trees