[HG] Adding tests for the init generator.