Suffering as a test