Implementation of binary tree with junit test and log4j logging