The teacher shortage prompted California lawmakers to ease testing requirements, waive exam fees and begin new programs to recruit and retain teachers.