build before testing