Added additional tests

Added extra tests around deletions and checking the toArray method for the BTree.