I helped get a device through part15 testing during an internship and was shocked to find that you don’t need the same firmware (like at all. You can run totally different oses and everything, they don’t have to share a single line of code.) As long as you say “this is pretty much the same as what we’re shipping to users” you’re fine. They don’t really have anyway to double check it and to be honest I wouldn’t be totally surprised if a lot of devices used different power levels and generally behaved differently in the field just by mistake.
After doing that, when ever I hear about things being “tested” to standards from some arm of a government I instinctively think of that. I don’t know how you could practically improve on it either.