Med students lose fight over masks, tests