added withQuery() method stub that is used to add a query parameter (#59)
added test stubs (#59)
implemented tests (#59)
implemented withQuery() method (#59)