Change expansion test to avoid portability issues
Change expansion test to avoid portability issues

The error messages of `rm` are system dependent; in particular, GNU rm
error messages are completely different from the BSD ones. This made the
tests fail in the Travis slave.

Make the expansion test rely only on POSIX behaviour by using `echo`.

adolfopa/tush