Fixed where currNode was not being writen back to file/cache when
BTreeObject is a duplicate, thus the frequency count was never
incremented.
changed the test in the testBTree class.