Try entering the 'test' command in .bash_profile instead of .bashrc