What is the test of causation in tort law?