Simplify the test call in ~/.bash_profile