Added some tests.
Fixed parameters numeration: the first parameter in a query string was shifted from 0 to 1.
Fixed bug with parameter recognizing at the end of a query string.
Added some tests. Separated spec files.