Fixed test_bad_scheme