Fixed BitArray, ByteArray, String classes.
Added tests for BitArray.