test for set_compose_mode, set_encoe_mode doesn't work