Not everyone uses bash, so fix test syntax.