Testing a Digital Substation in a Power system with an RTDS