small testing modification in core java