Fix failing teacher registation spec.