Better url generation method
updated doc example
Added tests for multiple parameters
Fixed unit test