Update deprecated rspec 'its' syntax tests
Add constant for insert buffer index ID
Store integers, not BinData objects; improve error messages