Added one test case to ArrayUtilsTest and some small changes to test cases to test indexOf and lastIndexOf with negative array index values.