Test script load and flush in pipeline