Convert the automatic data deletion into a JUnit rule