add java test classes