Updated WronArgException in tests