Anemia perniciosa e test per la vitamina B12

Is it a good idea to have vitamin B12 levels checked if you are concerned about pernicious anemia and what is the best way to test for vitamin B12 levels? Are false positives possible with this sort of testing?