build before test