The lawsuit cites several workplace safety issues.