Billions of dollars are at stake as bills move through the Legislature and lawsuits move through the courts that could redefine testing standards.