Use Charsets.UTF8 instead of "UTF-8"
Add test for correct putSize and deleteSize calculation