added test java stuff