Battle over schools and masks heads to court next week