Fixed test expected exception.