Flame test is not given by :
Beryllium and magnesium do not give any colour to the flame test because they have a small size and very high ionization enthalpies. The energy of the flame is not sufficient to excite the electrons to higher energy levels. Hence, they do not impart any characteristic colour to the flame.