fixed the test cases and some bugs related to introduction of spaces in the questions url