Use builtin test `[[ ]]` for bash scripts