IllegalStateException rather than IllegalArgumentException in tests.