Integrating test module into build process