For testing code with excpetions (instead of Test::Exception) see Test::Fatal.