Test script with options