Add basic test for ResourceUrl func