Fixed URL class initialization proble in Unit Test