create & test java