Setting up shifting on a work stand for a tandem is always a bit of a gamble.
Works perfectly when testing it on the stand but adding the weight of 2 riders in actually riding it will likely screw things up.
Usually some minor tweaking while on the road will set things right.
It helps that you ease up a bit on the pedal pressure when shifting to small chain ring and to be far enough back on the cassette also helps.