get shared library compiled, add a couple of tests