Unit tests for the wbtree module

Beginnings of a unit test module for wbtrees. Right now, it doesn't
really test too much.