Tweak test output format, add binary number test.
Add support for premade FFI buffers, add more unit tests.