Testing BoundedByteArrayEntity.