Add test for error functions and fix the elsize test.
Constify compyte_buffer_ops references everywhere.  THe struct should never be modified.
Forgot two spots in the last constify spree.
Follow up on the python side with the constification.
Add tests for the shared buffer.h functions (API tests later).