bintree: add unit test (failing ATM)