Final java implementation with test name suggestion