Use Bash Test

Rather than the POSIX compatible test.