Adding Java versions and associated tests