Backport HHH-13682 to 5.4: Generate Java 13/14 bytecode for tests when building with JDK13/14

Description

Mainly to make it easier to backport

Environment

None
Fixed

Assignee

Yoann Rodière

Reporter

Yoann Rodière

Fix versions