added test for empty querystring