added test function for QueryParams()
Merge pull request #2 from dankozitza/tests/params

added test function for QueryParams()