test content encoding