Why did Abraham Lincoln say the country was being tested?

Because of the civil war.