a small java test