return promise for test helper `compile`