Test array construction