Assert details of the InitializationError's cause.

Make it easy for the reader to understand the test.