Testing adding Java example