test, support url requirements

Fix #21 

@dnephin @asottile