Test main/sub control scripts