Testing stationary and transport batteries