Fixed test that was throwing alert dialog