Allow query parameters in request

- This PR enables query parameters to be used in the request
- It also tidies up the unit test

__Tasks:__

- [x] test coverage
- [ ] gather feedback for my changes

__Informations:__

| Q             | A
| ------------- | ---
| Tests pass?   | yes
| Fixed tickets | #171
| BC Breaks     | none
| Doc           | n/a

So this is the fix. We use `getPathInfo` instead of `getRequestUri`.

Get path info will return the path relative to the script name.