add some java test code if u love it