Real-Time Testing with Hardware In the Loop