updated module script and generate testing setup