Clarify variable names in split_data()
Fix a chunking problem confusing bytes and samples
Fix a couple of compiler warnings
Make chunk tests a bit more complicated