Updated the ZobristHashing units test to new API
Fixed the bugs which were reported by the unit tests