tests: Reverted jdk switch (build fails)
tests: Fixed failure counter in junit test script