Adds array test (bash specific feature) and corrects use of array for spineml_preflight arguments