script: always test if --test

... instead of cheking STDOUT first.
Force evaluation of PS1 for --test in list context