Using sets in tests did not check whether the values were written in the right section or with the right key.