fix case tests