Adjusted domain of test to not include negative indices
Fixed up error message in VariableSizeCodec, all tests now passing