Run test during build