The which command needs to be tested without the echo