test: check that 'sub' fails if the length is too small (ie -ve)