Rmove usage of @Test(expected = Throwable)