Run tests during build