Add canned reconcile test, ported random functions from sks.