Test could prevent cardiovascular disease