Using TDD to create a function that parses a query string into a JavaScript object