Fix whitespace.
Copy buffer w/matching API.
Be more strict in comparing buffer API.
Compare against hex for friendly test output.
Add missing dependency.