Created tests for array.remove.