Fix broken conditional expressions in bash profile

Removes unnecessary use of test built-in