// fixed 2 bugs, instance lost after setUp and expectedException