Delete java test function