End-to-end test with all encodings