I have never known magensium to turn water green but wonder if you might have any copper or brass plumbing on your well? That could explain the green water (acidic water going through the metal pipes or fittings).
If you have used a 'metal out' product (seqeustrant) then it is entirely possible that your water would test negative for metal even when they are present (but sequestered).