I have a working example here: schematic also atta...
# xschem
s
I have a working example here: schematic also attached. It plots the ac gain of a differential amplifier at 1kHz vs common mode (VCM) voltage. May be you can adapt to your test bench.