Added generic Java EE test helpers.