pull request 2

convert private methods to package-local and added test for binaryTreeGetCount