Add JUnit rules for rabbit and redis init tests