It's a bit too soon for the things in the public API but some internals could be tested.
I think I would just use my own tap module for that.
Right now, the code at least have some expect(bool expr) so at least it can do some sanity checks at runtime.