[FLINK-25543][yarn][tests] Migrate tests to JUnit5