Create test loop