Safety testing of new drug formulations involves a combination of in vitro and in vivo studies. In vitro tests provide initial insights into cytotoxicity and genotoxicity, while in vivo studies in animal models help assess the formulation's overall pharmacodynamics and potential adverse effects. Advanced tools like in silico modeling are also used to predict toxicological outcomes.