[DOC-XXX][fix] - Test fixed for java 7