add test for '/' in query string
fix: encode query parameters