run tests during build