added java + test