Probably makes more sense to test:

```
        expect(params.toString()).toEqual("one=1&two=true&three=foobar");
```