correctly test for wget