hw19: java builtin tests