in-test loop