Add test template Java files and related libraries