New test may predict dementia up to 9 years before diagnosis with 80% accuracy