The lawsuit that's putting California teacher employment laws to the test is winding down.

The defense is now calling witnesses in Vergara vs. California.  

Prosecutors claim the state's laws regarding teacher tenure, layoffs and dismissals protect so-called "bad" teachers. 

However, fifth-grade teacher Gaby Ibarra says stripping teachers of their rights will harm, not improve, student learning. 

"We definitely don't want to keep ineffective teachers. We have teachers that want to work with other teachers that are not following the law, so they're not following the rules and there are consequences," Ibarra said. 

The lawsuit was filed on behalf of a handful of California students who claimed laws on tenure, dismissal and layoffs by seniority protect the worst teachers.

Attorneys for the state maintain these protections help districts attract and retain quality teacher