add new test case of struct array