Added @expectedException