Test to create object in array with constructor Person