partially implemented binary tree with failing test