Introduce a generator for EQC.
Add more tests.