fix array usage in test suite