As already pointed out, series-connected GFCI outlets are not a violation. Maybe a waste of a $12 GFCI where a $1 receptacle would do, but there's certainly nothing wrong with it. In fact, it's even safer, as it hedges against GFCI failure. One GFCI will always trip before the other, it's just the nature of how they work.

One way to test both GFCI outlets is to simulate a N-G fault, which will route a small amount of building neutral current through the ground wire and *should* trip both GFCI receptacles. I'd caution that a properly listed device should be used for this, as it's dangerous to simply short the wires- there could be a LOT of current on the building neutral, and you don't want to route that through a #14 wire.