Fixes TestOpenBitSet

Mainly fixed problems with conversion from Java's BitSet.get and
Bitset.set to C#'s BitArray.get and BitSet.set. The latter throws
exceptions in cases where the former wouldn't.