How can I test the spring in my electric shift motor?

Everything "looks" good, I think, but how can I tell if the main spring in the motor unit is actually producing the force it is supposed to?

Or are there other things that I should be looking for?