added tests that exhibit issue #980

content length is miscalculated when the app has no 'charset' setting.