Laws AI in Software Testing and the Law: Liability, Accountability, and Regulatory Oversight in the Age of Generative AI