I should probably add that I was originally given an unknown solid mixture of 2 salts. I separated the insoluble salt out by centrifuging and then decanting. I found that the insoluble salt is $\ce{MgCO_3}$ by adding $\ce{HCl}$ (bubbles) and $\ce{NaOH}$ into the solution (jelly like white ppt). The decanted liquid was then what I observed as having 1 soluble salt. The soluble salt I know by testing for $\ce{SO4^{2-}}$ with $\ce{BaCl_2}$ and observing a violet flame in a flame test. Then I had a second bottle with 3 unknown, 2 of which I discovered above. I know that the 3rd one has 2 soluble and then my original question follows.
I have 2 soluble salts in aqueous distilled water solution. I know that one of the salts is potassium sulfate ($\ce{K_2SO_4}$) and I know that the anion of the second salt is chloride ($\ce{Cl^{-}}$). I know that the second salt is either magnesium, sodium, calcium or potassium chloride ($\ce{MgCl_2}$, $\ce{NaCl}$, $\ce{CaCl_2}$, or $\ce{KCl}$).
I tested for the anion for the second salt by adding silver nitrate ($\ce{AgNO_3}$) into the solution and observing a white precipitate. When I added sodium hydroxide ($\ce{NaOH}$) to it, I observed that the cloudy white precipitate disappeared and turned into small black precipitate which then settled to the bottom of the tube. Is there any way to get the cation of the second salt with this information, and are there any other test(s) I can do to find what is the cation for the second salt?