Add mode change tests