add URL test  and   getResource Test