ExpectedException added