A woman accused of drug supply and crashing into a police car as she evaded officers has given evidence in court.