for java test learnings