class BFSTree is now inside the AbstractGraph class
updated test