add tests generation to module