fix: remove @expectedException annotation