Modified teacher registration for passing tests