adjusted test. now works without escape query string