TEST: fix unit test for bad url