hardware in the loop testing pdf