I will never again buy one that:
was obviously ran without a throttle cable, or maladjusted cable...
is not sealed up, including still holding the converter in place, and all holes carefully plugged...
does not have a pan and gasket securely in place...
I cannot remove pan and inspect the inside before buying it...
the moving parts inside do not move with hand pressure... (servos and pistons)
the fluid is totally gone, dirty, or contaminated with water... (or anything else)
Even after all of this, you could still end up with a boat anchor.
All of these things I have seen wrong, and the tranny didn't work.
Always fill the converter partially on a tranny that has sat, or you can burn up parts/pump before it primes.
Any servo, piston, or moving part that does not move by hand, will usually not move under operation. If they do happen to unstick, it is often after damage is done, or they will stick again over and over, never really working right again.
Don't forget to listen to your nose either. Bad smell, walk away. It's too easy to get a bad tranny to gamble.
Most of the trannys that I have got that didn't work, were bought from friends, and were either known to work before they were stored, or at least rumored to if the friend didn't know first hand. So make sure you deal in a way that you won't lose a friend if you get one this way.