Testing the stain beforehand, good.
Conditioner, pretty much necessary.
What I really notice though is the grain mismatch. That's going to be harder to match
If the stain 'color' is close but not quite dark enough, you can apply some stain (on the preconditioned wood!), let it sit a little longer before wiping it gently. Let that coat of stain dry, and then apply a second coat of stain. Let dry and evaluate. Repeat as necessary. Possibly with different color stains as some of the layers.
Matching old stain on old wood is a trial process, Keep at it.
Oh, and remember to include the effects of the varnish too. The finish can have an effect on the appearance.
You can also try tinted varnish as another way to layer your colors.
Remember to use gloss varnish if you are layering, then top coat with the desired sheen of varnish as the final coat only (multiple coats of non-gloss varnish make the finish look muddy because of the buildup of the flattening agents, only do the topcoat in semi/satin/matte over the gloss underlayers).