added test case for saving url with question mark