Add putBytes(byte[], int, int) and update tests

This PR adds a method for updating the checksum value with slices of arrays.