Testing a Protection System using the RTDS Batch Mode Facility