Support JUnit Rule to prepare test data