testing deep model