Ziqing Hui : windowscodecs/tests: Introduce create_and_init_encoder.