There don't seem to be any unit tests. Hook up googletest and add some tests that are run with `make check`