Updating URIHelper

* Adding test for the boolean values used in URIHelper
* Sorting query parameters in URIHelper