Added tree builder test