Add leap libraries.
Add testing interface.
Tweak testing protocol.