switch to the latest assert for test stubbing

The latest assert adds its own native stubbing API. The switches
to that. No behavior changes - just test cleanups.

@jcredding ready for review.