`securesync` used KA Lite shared test code.  Didn't need it, move the important bits here.