Fixed test failure by changing the generateERD method back to void