created new class BFSTree
updated test