corrected API docs and added URL test