Test array generation
Array from file