#5 add NSURL category and tests