build: add quick consensus lib tests
They should be hooked up in other places as well, but this is a start.