Bone density test helpful in diagnosing osteoporosis