Added tests and fixed test_case fetchHTML