fix: try---finally
introducing test cases for current_url context manager