Add some tests for util/bplus

Also add a testing microframework