The test of ""foreseeability"" is generally used to determine the existence of which element of a negligence case?.