Tests and treatments for rheumatoid arthritis