It should work,unless...
The system should work, assuming it hasn't been roughed up over the years. Dropped from a tall building,hit by a tow motor etc. It may need to be charged. The unconnected couplings could have leaked enough refrigerant to affect performance. If the caps and plugs on the couplings are tight, chances are it's fine.