Effects of Risk and Time Preference and Expected Longevity on Demand for Medical Tests