Integrating tests with the build process