[FLINK-27662][tests] Migrate TypeInformationTestBase to JUnit5