HIL Testing of a Position Control System