Added test loop script.