compile before testing