array generation partly tested
struct array fields tests completed