xiaomi written test