diagnostic test for anemia