The shake test is used to detect freeze damage in certain vaccines like DTP, DT, Td, TT, typhoid, and hepatitis B. These vaccines cannot be frozen as it reduces their effectiveness. When frozen, the alum content separates out and sediments faster than non-frozen vaccines when shaken. To perform the shake test, a vaccine vial is frozen as a control and another vial suspected of freezing is selected. Both vials are shaken and observed over time - if the suspected vial sediments slower than the frozen control vial, it has not been damaged and can be used.