added test subarray negative offset, src length overflow