An automatic test system for the performance evaluation of PEM fuel cell stacks in dynamic conditions