People think that tests only come in the form of hardships. Allah also tests us with ease, it's often in the test of ease that we fail most.
Just as storms change the landscape of the earth, our hardships change the landscape of the heart.
Times of hardship can act as both an indicator, as well as a cure, for our broken relationship with our Creator.