[NUCCORE-1135] Fix test for dynamically creating class to use
getAsmVersionForJRE as well.