Mother accused of leaving child in car to take test