Initial bz wrapper, with tiny tests to check everything is ok