The most usual way to do this is:
```
for command in "${TEST_PRE_END[@]}"; do
  $command
done
```