Three former SolarCity Corp. employees have filed a wrongful-termination suit against the company and Tesla Inc., alleging they witnessed wrongdoing that included the practice of creating fake sales accounts to inflate the books.

The San Diego-area plaintiffs, two men and a woman who said they worked as energy consultants, allege that the fake accounts created were used to justify bonuses for those employees involved, and also to justify “an unreasonably high valuation of SolarCity,” according to a copy of the complaint, filed last week in San Diego Superior Court.

Tesla has denied the allegations, saying it fully investigated the issues and the facts didn’t support the plantiffs’ accusations, including the claims of false sales records.

Related:Goldman Sachs warns of ‘waning’ Tesla Model 3 social-media buzz

Tesla TSLA, +1.95% bought SolarCity for $2.6 billion in 2016. The solar-power company, which popularized the leasing of residential solar-power systems, was founded by two of Tesla Chief Executive Elon Musk’s cousins. The acquisition has had its fair share of detractors, with the accompanying lawsuits to challenge it, mostly alleging breach of fiduciary duty by Tesla.

The San Diego plaintiffs said they took their concerns to management, including to Musk, but instead they were fired in late May 2017, according to a copy of the lawsuit published by Ars Technica.

They are also suing the companies for failure to pay overtime, failure to provide work breaks, and other work-related complaints. In addition, one of the men alleges he was sexually harassed due to his sexual orientation, and the other man alleges that age discrimination was behind his firing.

See also: Tesla earnings: Gear up for more drama after Model 3 production burst

Both sides are scheduled to meet with Superior Court Judge Gregory Pollack on Dec. 28.

A Tesla spokesperson said Tuesday the plaintiffs’ roles were eliminated last year as part of the Tesla-SolarCity integration, when Tesla decided to end door-to-door sales of energy products. The suggestion they were eliminated for any other reason “is false,” the company said in an e-mailed statement.

The allegations of false sales records were investigated and found to be inaccurate, Tesla said.

“To be clear, we have seen absolutely nothing that suggests there were ‘fake potential sales accounts’ as claimed in the lawsuit,” the company said. Other allegations in the suit were unsubstantiated.

“Tesla is absolutely against any form of discrimination, harassment, or unfair treatment of any kind by or against anyone, and we take any concerns raised by employees very seriously, as we did here. In this case, the facts simply don’t support the plaintiffs’ story,” the company said.