Hardware-In-the-Loop Testing of On-Board Subsystems: Some Case Studies and Applications