fix case test