Converted to JUnit4 because of CI hangs, see AMQ-5021