ETS: refactoring with @Before, testing for exception