Tested the array methods