fix one failing test, around mirror URL
fix another failing test with https URL