Added ExpectedException attribute to failing test