spectrophotometry-magnesium-test