Test to redefine inject in array class