See test loop.